body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft yahei', sans-serif;
    background-color: #ccc;
}

/****************头部*****************/
header {
    margin: 0;
    padding: 0;
    background-color: #333;
}

header img {
    height: 55px;
}

header a {
    text-decoration: none;  /*消除链接的下划线*/
    color: white;
}

nav ul {
    position: absolute;
    top: 0;
    right: 5px;
}

nav li {
    float: left;   /*在li标签内使用float属性可以改变使其横向*/
    padding-right: 22px;
    font-size: 14px;
}

/****************文章区*****************/
article,
aside {
    margin: 1.3em;
    padding: 2em;
    background-color: #fff;
}

article h2 {
    font: bold 12px 'Microsoft yahei', sans-serif;
    color: #999;
}

.adress {
    font: bold 12px 'Microsoft yahei', sans-serif;
    color: #999;
}

.firstline {
    text-indent: 2em;   /*首行缩进两字符*/
}

#nostyle {
    list-style: none;   /*消除项目列表前的符号*/
}

dd {
    padding: 24px;
    width: 620px;
    list-style: none;
    border: 1px solid #ccc;
}

dd span {
    display: block;   /*将内联元素改为块元素*/
    margin-bottom: 15px;
    text-align: center;
}

article table {
    width: 100%;
    border: 1px solid #98bf21;
    border-collapse: collapse;  /*使用border-collapse合并表格边框*/
}

table th {
    text-align: left;
    font-size: 1.1em;
    color: #fff;
    background-color: #a7c942;
}

table .alt {
    color: black;
    background-color: #eaf2d3;
}

/****************侧边栏*****************/
aside {
    margin-top: 3.3em;
}

aside h2 {
    padding-left: 10px;
    border-left: 3px solid #ccc;  /*设置左边框样式*/
    font-size: 18px;
}

aside div {
    margin: 15px 15%;
}

aside form {
    margin: 40px 100px;
}

aside p {
    margin-bottom: 20px;
    margin-left: 18%;
    font-size: 13px;
    color: #999;
}

.tips {
    padding-left: 2em;
}

/*个人信息*/
.detail {
    padding-left: 5em;
}

/*添加左边距后，个人描述才能与文本框对齐*/
.self_detail {
    margin-left: 3em;
}

textarea {
    float: right;
    margin-right: -140px;
    width: 100%;
    height: 100px;
}

.submit {
    margin: 20px 0 -100px -110px;
    width: 120%;
    height: 40px;
    border-radius: 10px;  /*使矩形按钮四个角变圆*/
    background-color: #3355d0;
}

/****************页脚*****************/
footer {
    padding-top: 35px;
    height: 60px;
    text-align: center;
    color: white;
    background-color: black;
}